package com.sangcomz.fishbun.ui.detail;

import com.sangcomz.fishbun.adapter.image.ImageAdapter;
import com.sangcomz.fishbun.ui.detail.model.DetailImageViewData;
import ohos.utils.net.Uri;

import java.util.List;

public interface DetailImageContract {
    interface Presenter {
        void handleOnCreate(int initPosition);

        void onCountClick(int position);

        void changeButtonStatus(int position);
    }

    interface View {
        void unselectImage();

        void updateRadioButtonWithText(String text);

        void updateRadioButtonWithDrawable();

        void finishActivity();

        void finishAndShowErrorToast();

        void initViewPagerAdapter(ImageAdapter imageAdapter);

        void showImages(int initPosition, List<Uri> pickerImages);

        void showSnackbar(String message);

        void setBackButton();

        void setToolBar(DetailImageViewData detailImageViewData);

        void setCountButton(DetailImageViewData detailImageViewData);
    }
}